package com.ichir.projects.uiflow.events;

import java.util.Map;

import com.ichir.projects.uiflow.ui.api.IUiPart;


/**
 * {@link IUiPart} events listener.
 * 
 * @author mahieddine_ichir
 */
public interface IUiPartListener {

	/**
	 * On UI Part events. 
	 * @param source UI Part event source
	 * @param eventId event ID
	 * @param attributes event attributes
	 */
	void onEvent(IUiPart source, String eventId, Map<String, Object> attributes);
}
